﻿function calculateLix(plugin, dialogURL) {
    var range = plugin.editorDocument.selection.createRange();
    args = range.text;
    OpenDialog(dialogURL, args, 400, 500);
}